package io.datajek.springbasics.movierecommendersystem.lesson12;



import jdk.jfr.Name;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.inject.Named;


@Named
@Qualifier("CF")
public class CollaborativeFilter implements Filter {

    public String[] getRecommendations(String movie) {
        //基于协作过滤器的逻辑
        return new String[]{"Finding Nemo","Ice Age","Toy Story"};

}
}
